package owner;

import java.lang.reflect.Method;
/*
解析并测试这个注释
*/
public class Test {
    public static void main(String[] args) throws NoSuchMethodException {
        Class clazz=UserAnnotation.class;
        Method method=clazz.getMethod("zz");
        annotationDemo annotation = method.getAnnotation(annotationDemo.class);
        System.out.println(annotation.name());
    }
}
